package com.moblie.dao;

import com.moblie.domain.User;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.Map;

/**
 * 描述:
 *
 * @author 景远超
 * @create 2020-05-30 14:11
 */
public interface UserDao {
    public User findByTelephone(String telephone);

    void add(User user2);

    // github授权登录
    User findUserByGitHub(int gitHubId);

    // 将github的表中添加userid和githubid
    void addGitHub(Map<String,Object> map);
}
